import React, { Component } from 'react';
import { Layout, Icon } from 'antd';
import { connect } from 'react-redux';
import { Map } from 'immutable';

import LayoutMain from 'components/LayoutMain';

import { CommonActions } from 'store/actionCreators';
import { type State } from 'store';

const { Header, Content, Footer, Sider } = Layout;

type Props = { LeftHeader: Node, UserHeader: Node, content: Node };
class LayoutMainContainer extends Component<Props> {
  render() {
    const { LeftHeader, UserHeader, content } = this.props;
    return <LayoutMain LeftHeader={LeftHeader} UserHeader={UserHeader} content={content} />;
  }
}

const mapStateToProps = ({ common }: State) => ({});

const mapDispatchToProps = dispatch => ({});

export default connect(
  mapStateToProps,
  mapDispatchToProps,
)(LayoutMainContainer);
